//
//  ASJF_Service.h
//  JinFuThree
//
//  Created by 爱尚 on 2018/8/29.
//  Copyright © 2018年 毛韶谦. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ASJF_Service : NSObject


/**
 省市区获取
 */
+(void)getAreaData;


/**
 枚举类获取
 
 @param enumeration 枚举的类型
 @param success 返回URL
 @param failure 失败返回
 */
+ (void)getEnumeration:(NSString *)enumeration Success:(nonnull void (^)(_Nullable id responseObject))success Failure:(nonnull void(^)(_Nullable id responseObject,  NSError * _Nullable error))failure;

/**
 图片上传不可并发
 
 @param image 上传的图片
 @param success 返回URL
 @param failure 失败返回
 */
+ (void)uploadPictureWithData:(UIImage *)image Success:(nonnull void (^)(_Nullable id responseObject))success Failure:(nonnull void(^)(_Nullable id responseObject,  NSError * _Nullable error))failure;


@end
